package com.his.dictusageitem.dao;

import com.his.dictusageitem.entity.DictUsageItem;
import com.his.dictusageitem.entity.DictUsageItemKey;
import com.his.dictusageitem.entity.DictUsageItem_Detailed;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictUsageItemMapper {
    int deleteByPrimaryKey(DictUsageItemKey key);
    int insert(DictUsageItem record);
    int insertSelective(DictUsageItem record);
    DictUsageItem selectByPrimaryKey(DictUsageItemKey key);
    int updateByPrimaryKeySelective(DictUsageItem record);
    int updateByPrimaryKey(DictUsageItem record);

    //============= 自定义功能 ==========================

    /**
     *根据用法查询所有配置
     */
    List<DictUsageItem_Detailed> selectByUsageID(DictUsageItem record);

}